package com.lgz.dbcourse.dto;


import com.lgz.dbcourse.util.CommonUtil;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author: LGZ
 * @Date: 2021/4/11 11:08
 * @Description:
 */
@Getter
@Setter
public class ScheduleDTO {
    private Long movieId;
    private Long scheduleId;
    private Long hallId;
    private String hallName;
    private String movieName;
    private String startTime;

    @Override
    public String toString() {
        return CommonUtil.flushLeft(' ', 15, movieName) + "  " + CommonUtil.flushLeft(' ', 10, hallName) + "  " + CommonUtil.flushLeft(' ', 25, startTime);
    }
}
